<html>
<head><script>
var $wnd = parent;
var $doc = $wnd.document;
var $moduleName = null;


window["provider$locale"] = function() {
  try {
    var locale;
    if (locale == null) {
      var args = parent.location.search;
      var startLang = args.indexOf('locale');
      if (startLang >= 0) {
        var language = args.substring(startLang);
        var begin = language.indexOf('=') + 1;
        var end = language.indexOf('&');
        if (end == -1) {
          end = language.length;
        }
        locale = language.substring(begin, end);
      }
    }
    if (locale == null) {
      locale = parent.__gwt_getMetaProperty('locale');
    }
    if (locale == null) {
      return 'default';
    }
    while (!parent.__gwt_isKnownPropertyValue(window, 'locale', locale)) {
      var lastIndex = locale.lastIndexOf('_');
      if (lastIndex == -1) {
        locale = 'default';
        break;
      }
       else {
        locale = locale.substring(0, lastIndex);
      }
    }
    return locale;
  }
   catch (e) {
    $wnd.alert('Unexpected exception in locale creator, using default: ' + e);
    return 'default';
  }
}
;

window["values$locale"] = {
"de": 0, 
"default": 1, 
"en": 2, 
"sa": 3
};

window["prop$locale"] = function() {
  var v = window["provider$locale"]();
  var ok = window["values$locale"];
  if (v in ok)
    return v;
  var a = new Array(4);
  for (var k in ok)
    a[ok[k]] = k;
  $wnd.__gwt_onBadProperty("ch.myrss.MyRSS", "locale", a, v);
  if (arguments.length > 0) throw null; else return null;
};

window["provider$user.agent"] = function() {
  var ua = navigator.userAgent.toLowerCase();
  if (ua.indexOf('opera') != -1) {
    return 'opera';
  }
   else if (ua.indexOf('webkit') != -1) {
    return 'safari';
  }
   else if (ua.indexOf('msie 6.0') != -1 || ua.indexOf('msie 7.0') != -1) {
    return 'ie6';
  }
   else if (ua.indexOf('gecko') != -1) {
    var result = /rv:([0-9]+)\.([0-9]+)/.exec(ua);
    if (result && result.length == 3) {
      var version = parseInt(result[1]) * 10 + parseInt(result[2]);
      if (version >= 18)
        return 'gecko1_8';
    }
    return 'gecko';
  }
  return 'unknown';
}
;

window["values$user.agent"] = {
"gecko": 0, 
"gecko1_8": 1, 
"ie6": 2, 
"opera": 3, 
"safari": 4
};

window["prop$user.agent"] = function() {
  var v = window["provider$user.agent"]();
  var ok = window["values$user.agent"];
  if (v in ok)
    return v;
  var a = new Array(5);
  for (var k in ok)
    a[ok[k]] = k;
  $wnd.__gwt_onBadProperty("ch.myrss.MyRSS", "user.agent", a, v);
  if (arguments.length > 0) throw null; else return null;
};

function O(a,v) {
  var answer = O.answers;
  var i = -1;
  var n = a.length - 1;
  while (++i < n) {
    if (!(a[i] in answer)) {
      answer[a[i]] = [];
    }
    answer = answer[a[i]];
  }
  answer[a[n]] = v;
}
O.answers = [];


function selectScript() {
  try {
    var F;
    var I = ["true", (F=window["prop$locale"],F(1)), (F=window["prop$user.agent"],F(1))];

    O(["true","de","gecko"],"139E4D565D00DD3F6BB245DC7284D5DD");
    O(["true","en","gecko"],"139E4D565D00DD3F6BB245DC7284D5DD");
    O(["true","sa","gecko"],"139E4D565D00DD3F6BB245DC7284D5DD");
    O(["true","en","gecko1_8"],"139E4D565D00DD3F6BB245DC7284D5DD");
    O(["true","default","gecko"],"139E4D565D00DD3F6BB245DC7284D5DD");
    O(["true","sa","gecko1_8"],"139E4D565D00DD3F6BB245DC7284D5DD");
    O(["true","default","gecko1_8"],"139E4D565D00DD3F6BB245DC7284D5DD");
    O(["true","de","gecko1_8"],"139E4D565D00DD3F6BB245DC7284D5DD");
    O(["true","default","opera"],"2E04EF90659D49C2C66CA9525F300001");
    O(["true","sa","opera"],"2E04EF90659D49C2C66CA9525F300001");
    O(["true","de","opera"],"2E04EF90659D49C2C66CA9525F300001");
    O(["true","en","opera"],"2E04EF90659D49C2C66CA9525F300001");
    O(["true","sa","safari"],"65FF6F650F7C4C05F2FC0FFCCDB248AB");
    O(["true","default","safari"],"65FF6F650F7C4C05F2FC0FFCCDB248AB");
    O(["true","en","safari"],"65FF6F650F7C4C05F2FC0FFCCDB248AB");
    O(["true","de","safari"],"65FF6F650F7C4C05F2FC0FFCCDB248AB");
    O(["true","en","ie6"],"E5C3F3FBF4FC7C1A777C0375F7E27F1C");
    O(["true","default","ie6"],"E5C3F3FBF4FC7C1A777C0375F7E27F1C");
    O(["true","sa","ie6"],"E5C3F3FBF4FC7C1A777C0375F7E27F1C");
    O(["true","de","ie6"],"E5C3F3FBF4FC7C1A777C0375F7E27F1C");

    var strongName = O.answers[I[0]][I[1]][I[2]];
    var query = location.search;
    query = query.substring(0, query.indexOf('&'));
    var newUrl = strongName + '.cache.html' + query;
    location.replace(newUrl);
  } catch (e) {
    // intentionally silent on property failure
  }
}

function onLoad() {
  if (!$wnd.__gwt_isHosted) return;
  if (!$wnd.__gwt_isHosted()) {
    selectScript();
  }
  else {
    var mcb = $wnd.__gwt_tryGetModuleControlBlock(location.search);
    if (mcb) {
      $moduleName = mcb.getName();
      mcb.compilationLoaded(window);
    }
  }
}
</script></head>
<body onload='onLoad()'>
<font face='arial' size='-1'>This script is part of module</font> <code>ch.myrss.MyRSS</code>
</body>
</html>
